package com.yunche.iov.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

public class Device {
    private Integer id;

    private String no;

    private Integer deviceTypeId;

    private Integer supplierId;

    private Integer ownerId;

    private String simNo;

    private String tel;

    private String iccId;

    @JsonFormat(pattern="YYYY-mm-dd HH:mm")
    private Date createTime;

    private Integer createBy;

    private Byte dataState;

    private String servicePassword;

    private Byte serviceSwitch;

    private Byte category;

    private Byte rsatype;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no == null ? null : no.trim();
    }

    public Integer getDeviceTypeId() {
        return deviceTypeId;
    }

    public void setDeviceTypeId(Integer deviceTypeId) {
        this.deviceTypeId = deviceTypeId;
    }

    public Integer getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Integer supplierId) {
        this.supplierId = supplierId;
    }

    public Integer getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(Integer ownerId) {
        this.ownerId = ownerId;
    }

    public String getSimNo() {
        return simNo;
    }

    public void setSimNo(String simNo) {
        this.simNo = simNo == null ? null : simNo.trim();
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel == null ? null : tel.trim();
    }

    public String getIccId() {
        return iccId;
    }

    public void setIccId(String iccId) {
        this.iccId = iccId == null ? null : iccId.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Integer createBy) {
        this.createBy = createBy;
    }

    public Byte getDataState() {
        return dataState;
    }

    public void setDataState(Byte dataState) {
        this.dataState = dataState;
    }

    public String getServicePassword() {
        return servicePassword;
    }

    public void setServicePassword(String servicePassword) {
        this.servicePassword = servicePassword == null ? null : servicePassword.trim();
    }

    public Byte getServiceSwitch() {
        return serviceSwitch;
    }

    public void setServiceSwitch(Byte serviceSwitch) {
        this.serviceSwitch = serviceSwitch;
    }

    public Byte getCategory() {
        return category;
    }

    public void setCategory(Byte category) {
        this.category = category;
    }

    public Byte getRsatype() {
        return rsatype;
    }

    public void setRsatype(Byte rsatype) {
        this.rsatype = rsatype;
    }
}